<?php

/**
 * Description of User
 *
 * @author Tony
 */
class User {

  private $num_assigned_reviews;
  private $workload;
  private $username;
  private $email;
  private $countries = array();
  private $fields = array();
  private $role;
  private $available;

  //Constructs a user
  function __construct($num_assigned_reviews, $workload, $username, $email, 
          $countries, $fields, $role, $available) {
    $this->available = $available;
    $this->num_assigned_reviews = $num_assigned_reviews;
    $this->workload = $workload;
    $this->countries = $countries;
    $this->fields = $fields;
    $this->email = $email;
    $this->role = $role;
    $this->username = $username;
  }

  public function getRole() {
    return $this->role;
  }
  
  public function getUsername() {
    return $this->username;
  }
}

?>
